func image.pixelBufferLength
11 uses
image (current package)
image.go#L95: func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
image.go#L231: Pix: make([]uint8, pixelBufferLength(4, r, "RGBA")),
image.go#L348: Pix: make([]uint8, pixelBufferLength(8, r, "RGBA64")),
image.go#L475: Pix: make([]uint8, pixelBufferLength(4, r, "NRGBA")),
image.go#L619: Pix: make([]uint8, pixelBufferLength(8, r, "NRGBA64")),
image.go#L727: Pix: make([]uint8, pixelBufferLength(1, r, "Alpha")),
image.go#L838: Pix: make([]uint8, pixelBufferLength(2, r, "Alpha16")),
image.go#L935: Pix: make([]uint8, pixelBufferLength(1, r, "Gray")),
image.go#L1035: Pix: make([]uint8, pixelBufferLength(2, r, "Gray16")),
image.go#L1144: Pix: make([]uint8, pixelBufferLength(4, r, "CMYK")),
image.go#L1284: Pix: make([]uint8, pixelBufferLength(1, r, "Paletted")),
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |